home *** CD-ROM | disk | FTP | other *** search
/ Champak 145 / (Vol 145) Dec 21 2011.iso / Games / kupidon-strike.swf / scripts / frame_210 / PlaceObject2_258_498 / CLIPACTIONRECORD onClipEvent(load).as < prev   
Encoding:
Text File  |  2011-12-21  |  795 b   |  31 lines

  1. onClipEvent(load){
  2.    function rem()
  3.    {
  4.       _root.level_arrows = _root.level_arrows - 1;
  5.       _root.board_arrows["a" + (_root.level_arrows + 1)]._visible = false;
  6.       _root.boom(_X,_Y,colour);
  7.       this._visible = false;
  8.       this.active = false;
  9.       _root.hearts_beat = _root.hearts_beat + 1;
  10.       _root.level_score += 10;
  11.       i = 0;
  12.       while(i < _root.stage_objects.length)
  13.       {
  14.          if(_root.stage_objects[i] == this._name)
  15.          {
  16.             _root.todel_objects.push[i];
  17.          }
  18.          i++;
  19.       }
  20.    }
  21.    move_x = _X;
  22.    move_y = _Y;
  23.    move_direction = 1;
  24.    c_path = move_path;
  25.    tp = "heart-minus";
  26.    active = true;
  27.    colour = "white";
  28.    _root.stage_objects.push(this._name);
  29.    _root.level_objects.push(this._name);
  30. }
  31.